/**
 * 
 */
package com.pmsco.pms.business.dto;

import java.util.List;

import com.pmsco.pms.core.domain.Category;
import com.pmsco.pms.core.domain.Medicine;

/**
 * @author Long Tran
 *
 */
public class MedicineReturnDTO extends AbstractReturnDTO {
	private List<Medicine> medicines;
	private Integer medicinesSize;
	private Medicine medicine;
	private List<Category> categoryList;
	private String errorMessage;
	
	public MedicineReturnDTO() {
		setMedicines(null);
		setMedicinesSize(null);
		setMedicine(null);
		setCategoryList(null);
		setErrorMessage(null);
	}
	
	/**
	 * @return the medicines
	 */
	public List<Medicine> getMedicines() {
		return medicines;
	}
	
	/**
	 * @param medicines the medicines to set
	 */
	public void setMedicines(List<Medicine> medicines) {
		this.medicines = medicines;
	}
	
	/**
	 * @return the medicinesSize
	 */
	public Integer getMedicinesSize() {
		return medicinesSize;
	}

	/**
	 * @param medicinesSize the medicinesSize to set
	 */
	public void setMedicinesSize(Integer medicinesSize) {
		this.medicinesSize = medicinesSize;
	}

	/**
	 * @return the medicine
	 */
	public Medicine getMedicine() {
		return medicine;
	}

	/**
	 * @param medicine the medicine to set
	 */
	public void setMedicine(Medicine medicine) {
		this.medicine = medicine;
	}

	/**
	 * @return the categoryList
	 */
	public List<Category> getCategoryList() {
		return categoryList;
	}

	/**
	 * @param categoryList the categoryList to set
	 */
	public void setCategoryList(List<Category> categoryList) {
		this.categoryList = categoryList;
	}

	/**
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	/**
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
}
